﻿using Ongoal.Quotation.Common;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ongoal.Quotation.Model
{
    /// <summary>
    /// 登录用户实体类
    /// </summary>
    public class UserInfo
    {
        /// <summary>
        /// 人员ID
        ///</summary>
        public int UserID { get; set; } = 0;

        /// <summary>
        /// 人员编码
        ///</summary>
        public string? UserCode { get; set; }
        /// <summary>
        /// 登录用户名 
        ///</summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 显示名称(姓名) 
        ///</summary>
        public string? DisplayName { get; set; }

        /// <summary>
        ///  
        ///</summary>
        public string? AvatarUrl { get; set; }
        /// <summary>
        /// 性别 
        ///</summary>
        public int Sex { get; set; }
        /// <summary>
        /// 用户类型(默认普通用户) 
        ///</summary>
        public int UserType { get; set; }
        /// <summary>
        /// 手机号码 
        ///</summary>
        public string? Mobile { get; set; }
        /// <summary>
        /// 邮件 
        ///</summary>
        public string? Email { get; set; }
        /// <summary>
        /// QQ号码 
        ///</summary>
        public string? QQ { get; set; }
        /// <summary>
        /// 出生日期 
        ///</summary>
        public DateTime? Birthday { get; set; }

        /// <summary>
        /// 最后登录时间 
        ///</summary>
        public DateTime? LastLoginTime { get; set; }
        /// <summary>
        /// 登录次数 
        ///</summary>
        public int LoginTimes { get; set; }

    }
}
